<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>js导入导出</title>
</head>
<body>
<button id="but">按钮</button>
<script type="module">
    import {fun2 as f2,f3} from "../js/js-export-import.js";
    import {fun4} from "../js/js-export-import.js";
    import fun5 from "../js/js-export-import.js";
    import fun67 from "../js/js-export-import.js";
    document.getElementById("but").onclick = function () {
        //fun1(); //无法导入
        f2();
        f3();
        fun4();
        // fun5();
        fun67.fun6();
        fun67.fun7();
    }
</script>
</body>
</html>